Fix builddir != srcdir
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 28 Feb 2016 12:21:26 +0000 (12:21 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 28 Feb 2016 12:21:26 +0000 (12:21 +0000)
commitd59c796a9d639e771c62e5aceadbbacad11e719a
treed6c97e8ba2aa2a9f3368c18f8c15bdba6018b52a
parent41a371c435533aee5f050500c90507844cb1e45e
Fix builddir != srcdir

The gdkprivate-wayland.h header file is included from the top-level gdk
directory; this means that all included files referenced in the header
must be relative to the `gdk` directory, otherwise the build will fail
when the build directory is not equal to the source directory.

This commit fixes a build failure under continuous:

In file included from ../../gdk/gdkdisplaymanager.c:60:0:
../../gdk/wayland/gdkprivate-wayland.h:40:51: fatal error:
gtk-primary-selection-client-protocol.h: No such file or directory
 #include "gtk-primary-selection-client-protocol.h"
                                                   ^
compilation terminated.
Makefile:1155: recipe for target 'libgdk_3_la-gdkdisplaymanager.lo' failed
make[4]: *** [libgdk_3_la-gdkdisplaymanager.lo] Error 1
gdk/wayland/gdkprivate-wayland.h